package a.h;

import java.awt.*;

class nb
{
  private static final Double a = new Double(0.0D);
  private static final Integer c = new Integer(0);
  
  static String a(kd paramkd)
  {
    int i = ec.t;
    String str = (String)paramkd.a(kd.a);
    if (i == 0) {
      if (str != null)
      {
        if (i != 0) {
          break label75;
        }
        if (str.length() > 0)
        {
          if (i != 0) {
            break label77;
          }
          str = str + "." + paramkd.a();
          if (!ec.s) {
            return str;
          }
        }
      }
    }
    label75:
    str = paramkd.a();
    label77:
    return str;
  }
  
  static String a(ec paramec)
  {
    int i = ec.t;
    String str = (String)paramec.c(ec.c);
    if (i == 0) {
      if (str != null)
      {
        if (i != 0) {
          break label75;
        }
        if (str.length() > 0)
        {
          if (i != 0) {
            break label77;
          }
          str = str + "." + paramec.d();
          if (!ec.s) {
            return str;
          }
        }
      }
    }
    label75:
    str = paramec.d();
    label77:
    return str;
  }
  
  static String a(kd paramkd, ob paramob)
  {
    int i = ec.t;
    String str1 = a(paramkd);
    String str2 = (i != 0) || (paramob != null) ? paramob.b(str1) : str1;
    if (i == 0) {}
    return str2 != null ? str2 : str1;
  }
  
  static String a(ec paramec, ob paramob)
  {
    int i = ec.t;
    String str1 = a(paramec);
    String str2 = (i != 0) || (paramob != null) ? paramob.b(str1) : str1;
    if (i == 0) {}
    return str2 != null ? str2 : str1;
  }
  
  static boolean a(Object paramObject1, Object paramObject2)
  {
    int i = ec.t;
    if (i == 0) {
      if (paramObject2 != null)
      {
        if (i != 0) {
          break label45;
        }
        if (!paramObject2.equals(paramObject1)) {
          break label44;
        }
      }
    }
    if ((i != 0) || (paramObject1 != null)) {
      if (i != 0) {}
    }
    label44:
    label45:
    return !paramObject1.equals(paramObject2);
  }
  
  static Boolean a(boolean paramBoolean)
  {
    return paramBoolean ? Boolean.TRUE : Boolean.FALSE;
  }
  
  static Boolean a(Object paramObject)
  {
    int i = ec.t;
    if (i == 0) {
      if ((paramObject instanceof Boolean)) {
        return (Boolean)paramObject;
      }
    }
    if ((i != 0) || ((paramObject instanceof String))) {
      return Boolean.valueOf((String)paramObject);
    }
    return Boolean.FALSE;
  }
  
  static Color b(Object paramObject)
  {
    if (ec.t == 0) {
      if ((paramObject instanceof Color)) {
        return (Color)paramObject;
      }
    }
    if (paramObject == null) {
      return null;
    }
    return ec.a;
  }
  
  static Number c(Object paramObject)
  {
    int i = ec.t;
    if (i == 0) {
      if ((paramObject instanceof Double)) {
        return (Double)paramObject;
      }
    }
    if (i == 0) {
      if ((paramObject instanceof Number)) {
        return new Double(((Number)paramObject).doubleValue());
      }
    }
    if ((paramObject instanceof String))
    {
      Double localDouble;
      try
      {
        localDouble = new Double((String)paramObject);
      }
      catch (NumberFormatException localNumberFormatException)
      {
        localDouble = a;
      }
      return localDouble;
    }
    return a;
  }
  
  static Number d(Object paramObject)
  {
    int i = ec.t;
    if (i == 0) {
      if ((paramObject instanceof Integer)) {
        return (Integer)paramObject;
      }
    }
    if (i == 0) {
      if ((paramObject instanceof Number)) {
        return new Integer(((Number)paramObject).intValue());
      }
    }
    if ((paramObject instanceof String))
    {
      Integer localInteger;
      try
      {
        localInteger = new Integer((String)paramObject);
      }
      catch (NumberFormatException localNumberFormatException)
      {
        localInteger = c;
      }
      return localInteger;
    }
    return c;
  }
  
  static String e(Object paramObject)
  {
    int i = ec.t;
    if (i == 0) {
      if (paramObject == null) {
        return "<null/>";
      }
    }
    if (i == 0) {
      if ((paramObject instanceof String)) {
        return (String)paramObject;
      }
    }
    return paramObject.toString();
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.nb

 * JD-Core Version:    0.7.0.1

 */